package com.blb.ssh.aop;

import org.aspectj.lang.ProceedingJoinPoint;

public class LogUtils {

	public static void beforeLog(){
		System.out.println("开始记录日志");
	}
	
	public static void afterLog(){
		System.out.println("日志记录完成");
	}
	
	public static void aroundLog(ProceedingJoinPoint pjp) throws Throwable{
		System.out.println("开始记录日志--");
		pjp.proceed();
		System.out.println("日志记录完成--");
	}
	
	public static void exceptionLog(){
		System.out.println("开始记录错误日志...");
	}
}
